package com.lsl.musicplayer.util;

public class FormatTime {
    public String SecondToTime(int seconds){
        int second = seconds % 60;
        int m = seconds / 60;
        int h = seconds /60 /60;
        return h+":"+m+":"+second;
    }
    public String SecondToSongTime(int mseconds){
        int second = mseconds %60;
        int m = mseconds /60;
        return m+":"+(second < 10? "0"+second:second);
    }
}
